

            const path = require('path');
            const staticImg = path.join(__dirname, 'static');

            function ArduinoUnoBlocks (Blockly) {
            
                        
                        
                        
                        

                        Blockly.Blocks['EXT_ROTARY_ENCODER_BLOCK_1607506903997'] = {
                            init: function() {
                                this.jsonInit({
                                    "message0": Blockly.Msg.EXT_ROTARY_ENCODER_BLOCK_1607506903997,
                                    "args0": [
                                        
                        {
                            "type": "field_dropdown",
                            "name":  "pin_a",
                            "options": [
                                 [Blockly.Msg.EXT_ROTARY_ENCODER_BLOCK_1607506903997_PIN_A_0,  '2'],
 [Blockly.Msg.EXT_ROTARY_ENCODER_BLOCK_1607506903997_PIN_A_1,  '3'],
 [Blockly.Msg.EXT_ROTARY_ENCODER_BLOCK_1607506903997_PIN_A_2,  '4'],
 [Blockly.Msg.EXT_ROTARY_ENCODER_BLOCK_1607506903997_PIN_A_3,  '5'],
 [Blockly.Msg.EXT_ROTARY_ENCODER_BLOCK_1607506903997_PIN_A_4,  '6'],
 [Blockly.Msg.EXT_ROTARY_ENCODER_BLOCK_1607506903997_PIN_A_5,  '7'],
 [Blockly.Msg.EXT_ROTARY_ENCODER_BLOCK_1607506903997_PIN_A_6,  '8'],
 [Blockly.Msg.EXT_ROTARY_ENCODER_BLOCK_1607506903997_PIN_A_7,  '9'],
 [Blockly.Msg.EXT_ROTARY_ENCODER_BLOCK_1607506903997_PIN_A_8,  '10'],
 [Blockly.Msg.EXT_ROTARY_ENCODER_BLOCK_1607506903997_PIN_A_9,  '11'],
 [Blockly.Msg.EXT_ROTARY_ENCODER_BLOCK_1607506903997_PIN_A_10,  '12'],
 [Blockly.Msg.EXT_ROTARY_ENCODER_BLOCK_1607506903997_PIN_A_11,  '13'],

                            ]
                        },
                        
                        {
                            "type": "field_dropdown",
                            "name":  "pin_b",
                            "options": [
                                 [Blockly.Msg.EXT_ROTARY_ENCODER_BLOCK_1607506903997_PIN_A_0,  '2'],
 [Blockly.Msg.EXT_ROTARY_ENCODER_BLOCK_1607506903997_PIN_A_1,  '3'],
 [Blockly.Msg.EXT_ROTARY_ENCODER_BLOCK_1607506903997_PIN_A_2,  '4'],
 [Blockly.Msg.EXT_ROTARY_ENCODER_BLOCK_1607506903997_PIN_A_3,  '5'],
 [Blockly.Msg.EXT_ROTARY_ENCODER_BLOCK_1607506903997_PIN_A_4,  '6'],
 [Blockly.Msg.EXT_ROTARY_ENCODER_BLOCK_1607506903997_PIN_A_5,  '7'],
 [Blockly.Msg.EXT_ROTARY_ENCODER_BLOCK_1607506903997_PIN_A_6,  '8'],
 [Blockly.Msg.EXT_ROTARY_ENCODER_BLOCK_1607506903997_PIN_A_7,  '9'],
 [Blockly.Msg.EXT_ROTARY_ENCODER_BLOCK_1607506903997_PIN_A_8,  '10'],
 [Blockly.Msg.EXT_ROTARY_ENCODER_BLOCK_1607506903997_PIN_A_9,  '11'],
 [Blockly.Msg.EXT_ROTARY_ENCODER_BLOCK_1607506903997_PIN_A_10,  '12'],
 [Blockly.Msg.EXT_ROTARY_ENCODER_BLOCK_1607506903997_PIN_A_11,  '13'],

                            ]
                        },
                        
                        {
                            "type": "field_dropdown",
                            "name":  "pin_d",
                            "options": [
                                 [Blockly.Msg.EXT_ROTARY_ENCODER_BLOCK_1607506903997_PIN_A_0,  '2'],
 [Blockly.Msg.EXT_ROTARY_ENCODER_BLOCK_1607506903997_PIN_A_1,  '3'],
 [Blockly.Msg.EXT_ROTARY_ENCODER_BLOCK_1607506903997_PIN_A_2,  '4'],
 [Blockly.Msg.EXT_ROTARY_ENCODER_BLOCK_1607506903997_PIN_A_3,  '5'],
 [Blockly.Msg.EXT_ROTARY_ENCODER_BLOCK_1607506903997_PIN_A_4,  '6'],
 [Blockly.Msg.EXT_ROTARY_ENCODER_BLOCK_1607506903997_PIN_A_5,  '7'],
 [Blockly.Msg.EXT_ROTARY_ENCODER_BLOCK_1607506903997_PIN_A_6,  '8'],
 [Blockly.Msg.EXT_ROTARY_ENCODER_BLOCK_1607506903997_PIN_A_7,  '9'],
 [Blockly.Msg.EXT_ROTARY_ENCODER_BLOCK_1607506903997_PIN_A_8,  '10'],
 [Blockly.Msg.EXT_ROTARY_ENCODER_BLOCK_1607506903997_PIN_A_9,  '11'],
 [Blockly.Msg.EXT_ROTARY_ENCODER_BLOCK_1607506903997_PIN_A_10,  '12'],
 [Blockly.Msg.EXT_ROTARY_ENCODER_BLOCK_1607506903997_PIN_A_11,  '13'],

                            ]
                        },
                        
                                    ],
                                    "colour": "#179b73",
                                    "extensions": ["shape_statement"]
                                });
                                }
                        };
                        
                        

                        Blockly.Blocks['EXT_ROTARY_ENCODER_BLOCK_1607506904128'] = {
                            init: function() {
                                this.jsonInit({
                                    "message0": Blockly.Msg.EXT_ROTARY_ENCODER_BLOCK_1607506904128,
                                    "args0": [
                                        
                                    ],
                                    "colour": "#179b73",
                                    "extensions":["output_number"]
                                });
                                }
                        };
                        
                        

                        Blockly.Blocks['EXT_ROTARY_ENCODER_BLOCK_1607506904234'] = {
                            init: function() {
                                this.jsonInit({
                                    "message0": Blockly.Msg.EXT_ROTARY_ENCODER_BLOCK_1607506904234,
                                    "args0": [
                                        
                                    ],
                                    "colour": "#179b73",
                                    "extensions":[ "output_boolean"]
                                });
                                }
                        };
                        
            return Blockly;
            }

            module.exports = ArduinoUnoBlocks ;

        